package com.wicket.okrapp.web.contorller;

import com.wicket.okrapp.biz.service.DashboardWorkTaskService;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.ro.OkrResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@RestController
@RequestMapping("/app/dashboardWorkTask/")
public class DashboardWorkTaskController {

  @Autowired
  DashboardWorkTaskService dashboardWorkTaskService;
/**
   * D3分析工作归属与更新周期及上一周期(公共)
   */
    @PostMapping("analysisWorkBelongAndUpdatePreviousCycleCom")
    public OkrResult<AnalysisWorkBelongAndUpdatePreviousCycleComRespDto> analysisWorkBelongAndUpdatePreviousCycleCom(@RequestBody @Validated AnalysisWorkBelongAndUpdatePreviousCycleComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.analysisWorkBelongAndUpdatePreviousCycleCom(reqDTO));
    }
/**
   * D3查询部门下人员工作小圈子列表(公共)
   */
    @PostMapping("queryDeptSubPersonnelSmallCircleListCom")
    public OkrResult<QueryDeptSubPersonnelSmallCircleListComRespDto> queryDeptSubPersonnelSmallCircleListCom(@RequestBody @Validated QueryDeptSubPersonnelSmallCircleListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryDeptSubPersonnelSmallCircleListCom(reqDTO));
    }
/**
   * D3查询个人问题解决时长排行列表
   */
    @PostMapping("queryPersonalQuestionSolveRankList")
    public OkrResult<QueryPersonalQuestionSolveRankListRespDto> queryPersonalQuestionSolveRankList(@RequestBody @Validated QueryPersonalQuestionSolveRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryPersonalQuestionSolveRankList(reqDTO));
    }
/**
   * D3查询个人问题超时排行列表
   */
    @PostMapping("queryPersonalQuestionTimeoutRankList")
    public OkrResult<QueryPersonalQuestionTimeoutRankListRespDto> queryPersonalQuestionTimeoutRankList(@RequestBody @Validated QueryPersonalQuestionTimeoutRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryPersonalQuestionTimeoutRankList(reqDTO));
    }
/**
   * D3查询部门任务进度排行图表列表
   */
    @PostMapping("queryDeptTaskProgressRankingChartList")
    public OkrResult<QueryDeptTaskProgressRankingChartListRespDto> queryDeptTaskProgressRankingChartList(@RequestBody @Validated QueryDeptTaskProgressRankingChartListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryDeptTaskProgressRankingChartList(reqDTO));
    }
/**
   * D3查询部门任务逾期排行列表
   */
    @PostMapping("queryDeptTaskExpiedRankingList")
    public OkrResult<QueryDeptTaskExpiedRankingListRespDto> queryDeptTaskExpiedRankingList(@RequestBody @Validated QueryDeptTaskExpiedRankingListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryDeptTaskExpiedRankingList(reqDTO));
    }
/**
   * D3查询部门问题解决天数排行图表列表
   */
    @PostMapping("queryDeptQuestionSolvesRankingChartList")
    public OkrResult<QueryDeptQuestionSolvesRankingChartListRespDto> queryDeptQuestionSolvesRankingChartList(@RequestBody @Validated QueryDeptQuestionSolvesRankingChartListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryDeptQuestionSolvesRankingChartList(reqDTO));
    }
/**
   * D3查询部门问题超时排行列表
   */
    @PostMapping("queryDeptQuestionOvertimeRankingList")
    public OkrResult<QueryDeptQuestionOvertimeRankingListRespDto> queryDeptQuestionOvertimeRankingList(@RequestBody @Validated QueryDeptQuestionOvertimeRankingListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryDeptQuestionOvertimeRankingList(reqDTO));
    }
/**
   * D3查询下属工作任务进度排行列表
   */
    @PostMapping("querySubordinateWorkTaskProgressRankList")
    public OkrResult<QuerySubordinateWorkTaskProgressRankListRespDto> querySubordinateWorkTaskProgressRankList(@RequestBody @Validated QuerySubordinateWorkTaskProgressRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.querySubordinateWorkTaskProgressRankList(reqDTO));
    }
/**
   * D3查询下属工作任务逾期排行列表
   */
    @PostMapping("querySubordinateWorkTaskOverdueRankList")
    public OkrResult<QuerySubordinateWorkTaskOverdueRankListRespDto> querySubordinateWorkTaskOverdueRankList(@RequestBody @Validated QuerySubordinateWorkTaskOverdueRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.querySubordinateWorkTaskOverdueRankList(reqDTO));
    }
/**
   * D3查询主管下属问题解决天数排行列表
   */
    @PostMapping("queryChargeSubQuestionSolveRankList")
    public OkrResult<QueryChargeSubQuestionSolveRankListRespDto> queryChargeSubQuestionSolveRankList(@RequestBody @Validated QueryChargeSubQuestionSolveRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryChargeSubQuestionSolveRankList(reqDTO));
    }
/**
   * D3批量查询工作任务(公共)
   */
    @PostMapping("batchQueryWorkTaskDataCom")
    public OkrResult<BatchQueryWorkTaskDataComRespDto> batchQueryWorkTaskDataCom(@RequestBody @Validated BatchQueryWorkTaskDataComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.batchQueryWorkTaskDataCom(reqDTO));
    }
/**
   * D3查询工作任务周期导航列表
   */
    @PostMapping("queryWorkTaskCycleNavList")
    public OkrResult<QueryWorkTaskCycleNavListRespDto> queryWorkTaskCycleNavList(@RequestBody @Validated QueryWorkTaskCycleNavListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryWorkTaskCycleNavList(reqDTO));
    }
/**
   * D3查询个人工作任务进度排行列表
   */
    @PostMapping("queryPersonalWorkTaskProgressRankList")
    public OkrResult<QueryPersonalWorkTaskProgressRankListRespDto> queryPersonalWorkTaskProgressRankList(@RequestBody @Validated QueryPersonalWorkTaskProgressRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryPersonalWorkTaskProgressRankList(reqDTO));
    }
/**
   * D3查询个人工作任务逾期排行列表
   */
    @PostMapping("queryPersonalWorkTaskOverdueRankList")
    public OkrResult<QueryPersonalWorkTaskOverdueRankListRespDto> queryPersonalWorkTaskOverdueRankList(@RequestBody @Validated QueryPersonalWorkTaskOverdueRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryPersonalWorkTaskOverdueRankList(reqDTO));
    }
/**
   * D3查询主管下属问题超时排行列表
   */
    @PostMapping("queryChargeSubQuestionTimeoutRankList")
    public OkrResult<QueryChargeSubQuestionTimeoutRankListRespDto> queryChargeSubQuestionTimeoutRankList(@RequestBody @Validated QueryChargeSubQuestionTimeoutRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryChargeSubQuestionTimeoutRankList(reqDTO));
    }
/**
   * D3查询项目下任务进度排行列表(公共)
   */
    @PostMapping("queryUnderProjectTaskProgressRankListCom")
    public OkrResult<QueryUnderProjectTaskProgressRankListComRespDto> queryUnderProjectTaskProgressRankListCom(@RequestBody @Validated QueryUnderProjectTaskProgressRankListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryUnderProjectTaskProgressRankListCom(reqDTO));
    }
/**
   * D3查询重点关注任务进度排行列表(公共)
   */
    @PostMapping("queryKeyFocusWorkTaskProgressRankListCom")
    public OkrResult<QueryKeyFocusWorkTaskProgressRankListComRespDto> queryKeyFocusWorkTaskProgressRankListCom(@RequestBody @Validated QueryKeyFocusWorkTaskProgressRankListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryKeyFocusWorkTaskProgressRankListCom(reqDTO));
    }
/**
   * D3批量查询任务进度排行(公共)
   */
    @PostMapping("batchQueryTaskProgressRankCom")
    public OkrResult<BatchQueryTaskProgressRankComRespDto> batchQueryTaskProgressRankCom(@RequestBody @Validated BatchQueryTaskProgressRankComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.batchQueryTaskProgressRankCom(reqDTO));
    }
/**
   * D3查询任务逾期排行列表(公共)
   */
    @PostMapping("queryTaskExpiedRankListCom")
    public OkrResult<QueryTaskExpiedRankListComRespDto> queryTaskExpiedRankListCom(@RequestBody @Validated QueryTaskExpiedRankListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryTaskExpiedRankListCom(reqDTO));
    }
/**
   * D3查询项目下逾期任务排行列表
   */
    @PostMapping("queryUnderProjectExpiedTaskRankList")
    public OkrResult<QueryUnderProjectExpiedTaskRankListRespDto> queryUnderProjectExpiedTaskRankList(@RequestBody @Validated QueryUnderProjectExpiedTaskRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryUnderProjectExpiedTaskRankList(reqDTO));
    }
/**
   * D3查询任务进度排行列表(公共)
   */
    @PostMapping("queryTaskProgressRankListCom")
    public OkrResult<QueryTaskProgressRankListComRespDto> queryTaskProgressRankListCom(@RequestBody @Validated QueryTaskProgressRankListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryTaskProgressRankListCom(reqDTO));
    }
/**
   * D3查询问题超时排行列表(公共)
   */
    @PostMapping("queryQuestionTimeoutRankListCom")
    public OkrResult<QueryQuestionTimeoutRankListComRespDto> queryQuestionTimeoutRankListCom(@RequestBody @Validated QueryQuestionTimeoutRankListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryQuestionTimeoutRankListCom(reqDTO));
    }
/**
   * D3查询问题解决天数排行列表(公共)
   */
    @PostMapping("queryQuestionSolvesRankListCom")
    public OkrResult<QueryQuestionSolvesRankListComRespDto> queryQuestionSolvesRankListCom(@RequestBody @Validated QueryQuestionSolvesRankListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryQuestionSolvesRankListCom(reqDTO));
    }
/**
   * D3查询重点关注任务逾期排行列表
   */
    @PostMapping("queryKeyFocusWorkExpiedTaskRankList")
    public OkrResult<QueryKeyFocusWorkExpiedTaskRankListRespDto> queryKeyFocusWorkExpiedTaskRankList(@RequestBody @Validated QueryKeyFocusWorkExpiedTaskRankListReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryKeyFocusWorkExpiedTaskRankList(reqDTO));
    }
/**
   * D3批量查询任务逾期排行(公共)
   */
    @PostMapping("batchQueryTaskExpiedRankCom")
    public OkrResult<BatchQueryTaskExpiedRankComRespDto> batchQueryTaskExpiedRankCom(@RequestBody @Validated BatchQueryTaskExpiedRankComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.batchQueryTaskExpiedRankCom(reqDTO));
    }
/**
   * D3查询其他大屏周期名称详情(公共)
   */
    @PostMapping("queryOtherDashboardCycleNameDetailCom")
    public OkrResult<QueryOtherDashboardCycleNameDetailComRespDto> queryOtherDashboardCycleNameDetailCom(@RequestBody @Validated QueryOtherDashboardCycleNameDetailComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryOtherDashboardCycleNameDetailCom(reqDTO));
    }
/**
   * D3查询时间统计任务列表(公共)
   */
    @PostMapping("queryTimeStatisticsTasksListCom")
    public OkrResult<QueryTimeStatisticsTasksListComRespDto> queryTimeStatisticsTasksListCom(@RequestBody @Validated QueryTimeStatisticsTasksListComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.queryTimeStatisticsTasksListCom(reqDTO));
    }
/**
   * D3批量查询时间统计任务(公共)
   */
    @PostMapping("batchQueryTimeStatisticsTasksCom")
    public OkrResult<BatchQueryTimeStatisticsTasksComRespDto> batchQueryTimeStatisticsTasksCom(@RequestBody @Validated BatchQueryTimeStatisticsTasksComReqDto reqDTO){
    return OkrResult.success(dashboardWorkTaskService.batchQueryTimeStatisticsTasksCom(reqDTO));
    }
}
